Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Request Constant into Some Random Numbers #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martabacc
Copy link

@martabacc martabacc commented May 16, 2019

Problem
When we also installs another library that uses the same constant (in my project we use react-native-bluetooth-escpos-printer), the listener is also invoked but it throws error which resulted in force close.

Note: Used constant on the library is 1 (for contact) and 2 (for email).

Steps to Reproduce

  • create new rn project
  • install both react-native-contacts-wrapper and another library that uses same constant
  • try import contact
  • app force close

Fix
Change request constants into random numbers so hopefully it doesn't have the same constant with another library.

Edit: I also tidy the readme.

@martabacc martabacc changed the title Change Request Constant into More Random Numbers Change Request Constant into Some Random Numbers May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant